package com.frog.service.friend.enums;

import com.frog.framework.cache.redis.RedisKey;


public enum FriendRedisKeys implements RedisKey {


    // 两用户之间好友关系
    USER_FRIEND_FOLLOWING_RELATIONSHIP_STRING("user:friend:following:relationship:{0}", -1, "两用户之间好友关系"),


    // friendList
    USER_FRIEND_FOLLOWED_INVITED_ZSET("user:friend:followed:invited:zset:{0}", -1, "我关注的用户(包含双向关注)"),
    USER_FRIEND_FOLLOWED_BY_ZSET("user:friend:followed:by:zset:{0}", -1, "关注我的用户(包含双向关注)"),
    USER_FRIEND_FOLLOWED_BOTH_ZSET("user:friend:followed:both:zset:{0}", -1, "我的双向关注"),

    USER_FRIEND_BLOCK_INVITED_ZSET("user:friend:block:invited:zset:{0}", -1, "我拉黑的用户(包含双向拉黑)"),
    USER_FRIEND_BLOCK_BY_ZSET("user:friend:block:by:zset:{0}", -1, "拉黑我的用户(包含双向拉黑)"),
    USER_FRIEND_BLOCK_BTOH_ZSET("user:friend:block:both:zset:{0}", -1, "我的双向拉黑"),

    USER_FRIEND_BEST_INVITED_ZSET("user:friend:best:invited:zset:{0}", -1, "我的bestfriend用户(包含双向)"),
    USER_FRIEND_BEST_BY_ZSET("user:friend:best:by:zset:{0}", -1, "bestfriend我的用户(包含双向)"),
    USER_FRIEND_BEST_BOTH_ZSET("user:friend:best:both:zset:{0}", -1, "我的双向bf"),


    // 两用户之间真假聊天状态
    USER_REQUEST_MSG_CHAT_STATUS_STRING("user:request:msg:chat:status:{0}", -1, "两用户之间真假聊天状态");


    FriendRedisKeys(String key, long expired, String desc) {
        this.key = key;
        this.expired = expired;
        this.desc = desc;
    }

    private String key;
    private long expired;
    private String desc;

    @Override
    public String getKey() {
        return key;
    }

    @Override
    public long getExpired() {
        return expired;
    }

    @Override
    public String getDesc() {
        return desc;
    }


}
